Greedy Task Scheduling Problem